package com.xiaoxin.dubbo.api;

import com.xiaoxin.model.mongo.Friend;

import java.util.List;

/**
 * @author xiaoxiaode
 * @date 2021-09-08-17:03
 **/
public interface FriendApi {
    void save(Long myId, Long friendId);

    List<Friend> findFriends(Long userId,Integer page, Integer pagesize);

    void remove(Long id, Long unlikeUserId);
}
